package net.lzzy.practices.services;

import net.lzzy.practices.constants.Messages;
import net.lzzy.practices.entities.Chapter;

import java.util.List;
import java.util.UUID;

public interface ChapterService {
    List<Chapter> getTeachersChapters(UUID courseId,String token);

    List<Chapter> getStudentsChapters(UUID courseId,String token);
    Chapter add(UUID courseId, Chapter chapter, String token);
    Chapter update(UUID id, Chapter chapter, String token);
    Chapter openCloseChapter(UUID id,boolean open,String token);
    Messages remove(UUID id,String token);
}
